package com.leon.workenginespace.entity;

import java.io.Serializable;

/**
 * @description: 受理实体  this的使用
 * @author: WT
 * @date: 2024/3/7 22:40
 * @Version 1.0
 **/
public class Accept implements Serializable {
    private static final long serialVersionUID = 9999999L;
    /**
     * 保全受理id
     */
    private Long cspAcceptId;

    /**
     * 保全受理号
     */
    private String acceptCode;

    /**
     * 保全项目ID
     */
    private static Integer serviceId;


    private void setAcceptCode(String acceptCode) {
        this.acceptCode = acceptCode;
    }


    private void setServiceId(Integer serviceId) {
        Accept.serviceId = serviceId;
        //this.serviceId = serviceId;
    }

    /**
     * this调用成员方法,
     *
     * @param acceptCode 受理号
     */
    private void setThisAcceptCode(String acceptCode) {
        this.setAcceptCode(acceptCode);

    }
//    private static void getAcceptCode(String acceptCode) {
//        this.setAcceptCode(acceptCode);
//    }

    public Accept(String accept) {

    }

    private Accept(Integer serviceId){
        this();
    }

    public Accept() {
        this("accept");
    }

    public Accept getAccept(String acceptCode) {
        this.acceptCode = acceptCode;
        return this;
    }
}